<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>

<form action="#" method="post">

    <input type="hidden" name="id" value="123">

    <label for="username">用户名：</label>
    <input type="text" name="username" id="username"><br>

    <label for="password">密码：</label>
    <input type="password" name="password" id="password"><br>

    性别：
    <input type="radio" name="gender" value="1" id="male"><label for="male">男</label>
    <input type="radio" name="gender" value="2" id="female"><label for="female">女</label>
    <br>

    爱好：
    <input type="checkbox" name="hobby" value="1" id="lvyou"><label for="lvyou">旅游</label>
    <input type="checkbox" name="hobby" value="2" id="xuexi"><label for="xuexi">学习</label>
    <input type="checkbox" name="hobby" value="3" id="youxi"><label for="youxi">游戏</label>
    <br>

    头像：
    <input type="file"><br>


    个人描述：
    <textarea cols="20" rows="5" name="dsc"></textarea>
    <br>

    城市：
    <select name="city">
        <option>请选择城市</option>
        <option value="beijing">北京</option>
        <option value="shanghai">上海</option>
        <option value="guangzhou">广州</option>
        <option value="hujian">湖建</option>
    </select>


    <br>
    <input type="submit" value="免费提交"><input type="reset" value="重置"><input type="button" value="一个按钮"><br>




</form>

</body>
</html>